﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="XwList.aspx.cs" Inherits="XwList" %>

<!DOCTYPE html>
<%@ Register Src="~/UserControls/head.ascx" TagName="mhead" TagPrefix="uc1" %>
<%@ Register Src="~/UserControls/foot.ascx" TagName="m_foot" TagPrefix="uc2" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><%=GetTitle() %></title>
    <link rel="stylesheet" href="css/menhu/list.css" />

    <script src="scriptFile/jquery.js"></script>
    <script src="scriptFile/mh_index.js"></script>
    <script src="ScriptFile/RequestParams.js"></script>

    <script type="text/javascript">

        $(document).ready(function () {
            var sname = request("sname"); 
            if (typeof (sname) == "undefined" || sname == "") {                
                var strTempUrl = $("li.active>a").attr("href");
                if (typeof (strTempUrl) != "undefined" && strTempUrl != "") {
                    window.location.href = strTempUrl;
                }
            }
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <uc1:mhead ID="mhead" runat="server" />
        <!--页面主体-->
<div class="main">
    <div class="area">
        您现在的位置：<a href="">首页</a>&gt;<a href=""><asp:Label ID="labBgclass1" runat="server"></asp:Label></a>
    </div>
    <div class="list-aside">
        <p><i></i><asp:Label ID="labBgclass2" runat="server"></asp:Label></p>
        <ul>
           <%-- <li class="active"><a href=""></a></li>--%>
            <%=GetLeftType() %>
        </ul>
    </div>
    <div class="content">
        <div><p><asp:Label ID="labBgclass3" runat="server"></asp:Label></p></div>

         <%=GetXlHtml() %>

        <div class="page">
            <span>共<asp:Label ID="labRecordCount" runat="server"></asp:Label>条记录</span>
            <%--<span>共100页，当前第 1 页</span>
            <a href="">首页</a>
            <a href="">&lt;</a>
            <a href="" class="active">1</a>
            <a href="">2</a>
            <span>......</span>
            <a href="">8</a>
            <a href="">9</a>
            <a href="">&gt;</a>
            <a href="">尾页</a>--%>
        </div>
    </div>
</div>
        <uc2:m_foot ID="foot" runat="server" />
    </form>
</body>
</html>
